import { BaseService } from '@app/db/base/base.service';
import { Menu } from '@app/db/common/entity/Menu';
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';

@Injectable()
export class MenuRepositoryService extends BaseService<Menu>{
    constructor(
        @InjectRepository(Menu) protected repository:Repository<Menu>
    ) {
        super()
        this.primaryKey = 'id'
    }
}
